<?php
return [
    /*
     * 注意事项：
     * 1.平台新线路必须加在之前得线路之后
     * 2.线路必须携带键lineName和default
     * 3.平台需要携带键uniqueKey、length、pre和updateFiled
     * 4.updateFiled必须有默认项
    */
    'gamePublicPwd' => env('PUBLIC_PWD', '123456'),
    'auto_money_to_point_rate' => 0.000,  //自动钱转分提成
    'cost_rate_api'=>'0.0025',
    'pub' => [
        'AddressIp' => env('GAME_ADDRESS_IP', '127.0.0.1'),
    ],
    'dt' => [
        'line'=>[

            [
                'gameUrl' => 'http://api-dtservice.com/dtApi.html',   //游戏地址
                'dataUrl' => 'http://api-dtservice.com/dtApi.html',   //数据地址
                'business' => 'NNTI_VB_YB',                         //月付商户号
                'apiKey' => 'BXFIAM7lWVwJ8bWcfiCnBg==',                  //APIkey
                'lineName'=>'dt',
                'default'=>false,
            ],
            [
                'gameUrl' => 'http://api-dtservice.com/dtApi.html',   //游戏地址
                'dataUrl' => 'http://api-dtservice.com/dtApi.html',   //数据地址
                'business' => 'NNTI_M_FKYX',                         //月付商户号
                'apiKey' => 'GL3Q9ZvVkFE+WfvSnVCnrA==',                  //APIkey
                'lineName'=>'dt2',
                'default'=>true,
            ],
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => 20,                                         //长度
        'pre' => '',                                            //前辍
        'updateFiled' => [
            'default' => [
                'playerName' => 'username',
                'gameCode' => 'game_code',
                'id' => 'game_flow_code',
                'betPrice' => 'bet_amount',
                'betWins' => 'company_payout_amount',
                'prizeWins' => 'company_win_amount',
                'createTime' => 'bet_time'
            ]

        ]
    ],
    'mg' => [
        'line'=>[
            [
                'gameUrl' => 'http://ag.adminserv88.com',             //游戏地址
                'dataUrl' => 'http://ag.adminserv88.com',             //数据地址
                'JUsername' => 'fkyx_admin',                           //帐号
                'JPassword' => 'bc158158',                        //密码
                'clearPre' => '439:',
                'pre' => 'FK',                                            //前辍
                'lineName'=>'mg',
                'default'=>true,
            ]
        ],
        'length' => 17,                                         //长度
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'mbrCode' => 'username',
                'gameId' => 'game_code',
                'transId' => 'game_flow_code',
                'amnt' => 'bet_amount',
                'win' => 'company_payout_amount',
                'transTime' => 'bet_time',
            ]

        ]
    ],
    'pt' => [
        'line'=>[
          [
              'gameUrl' => 'https://kioskpublicapi.luckydragon88.com/',                 //游戏地址
              'dataUrl' => 'https://kioskpublicapi.luckydragon88.com/',                 //数据地址
              'pre' => 'FK8',                                           //前辍
              'adminname' => 'VBETCNYFK8',                              //APIkey
              'kioskname' => 'VBETCNYFK8',                              //APIkey
              'xentityKey' => 'c2b53afd4b594a50bf40119286712d57ce5b897e9a88682819d211c2dd572bd614ab695a9c0a4b9eb04e35faf4fe9bbd035f81f98135abea2fc88552bf4be6c7',
              'lineName'=>'pt',
              'default'=>true
          ]
        ],
        'length' => 30,                                           //长度
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'PLAYERNAME' => 'username',
                'GAMENAME' => 'game_code',
                'GAMECODE' => 'game_flow_code',
                'BET' => 'bet_amount',
                'WIN' => 'company_payout_amount',
                'GAMEDATE' => 'bet_time'
            ]

        ]
    ],
    'qt' => [
        'line'=>[

          [
              'gameUrl' => 'https://api.qtplatform.com',             //游戏地址
              'dataUrl' => 'https://api.qtplatform.com',             //数据地址
              'username' => 'api_fk8',                                   //帐号
              'password' => 'KW62AxDo',                                  //密码
              'gameCode' => 'HAB-baccarat',                              //进入游戏创建角色
              'lineName'=>'qt',
              'default'=>false,
          ],
          [
              'gameUrl' => 'https://api.qtplatform.com',             //游戏地址
              'dataUrl' => 'https://api.qtplatform.com',             //数据地址
              'username' => 'api_fkgame',                                   //帐号
              'password' => 'X6dlW0JM',                                  //密码
              'gameCode' => 'HAB-baccarat',                              //进入游戏创建角色
              'lineName'=>'qt1',
              'default'=>true,
          ],
        ],
        'length' => 20,                                            //长度
        'pre' => '',                                               //前辍
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'playerId' => 'username',
                'gameId' => 'game_code',
                'id' => 'game_flow_code',
                'totalBet' => 'bet_amount',
                'totalPayout' => 'company_payout_amount',
                'initiated' => 'bet_time'
            ]

        ],

    ],
    'pts' => [
        'line'=>[
            [
                'gameUrl' => 'https://api.m27613.com',             //游戏地址
                'dataUrl' => 'https://api.m27613.com',             //数据地址
                'username' => 'FKYAPI',                                   //帐号
                'password' => 'AAbb1122++',                               //密码
                'secretKey' => '7fb49d1c-fa19-49a6-a7d8-ade9c0d8a0c8',      //进入游戏创建角色
                'lineName'=>'pts',
                'default'=>true,
            ]
        ],
        'length' => 20,                                            //长度
        'pre' => '',                                               //前辍
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'playerCode' => 'username',
                'gameCode' => 'game_code',
                'roundId' => 'game_flow_code',
                'bet' => 'bet_amount',
                'win' => 'company_payout_amount',
                'ts' => 'bet_time',
            ]

        ]
    ],
    'allbet' => [
        'line'=>[
            [
                'gameUrl' => 'https://api3.abgapi.net',                //游戏地址
                'targetSitePC' => 'https://www.allbetgame.net/',        //游戏pc网址
                'targetSiteH5' => 'https://www.allbetgame.net/h5/',     //游戏h5网址
                'username' => 'fk666y5',                                    //帐号
                'password' => 'Fk@123456',                                  //密码
                'des' => '2vPLiECEZp2q/BUiY8Gj2Iv7pamc/l+7',                //密码
                'md5' => 'DUlXLINUPGmvIqjX76wUWbmo8EAnhZBWT601RdkWD2Q=',    //密码
                'propertyID' => '6446909',                                  //密码
                'identificationCode' => 'fk1',                              //
                'lineName'=>'allbet',
                'default'=>true,
            ],
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => 16,                                            //长度
        'pre' => '',                                               //前辍
        'updateFiled' => [
            'default' => [
                'client' => 'username',
                'gameType' => 'game_code',
                'betNum' => 'game_flow_code',
                'betAmount' => 'bet_amount',
                'validAmount' => 'available_bet_amount',
                'winOrLoss' => 'company_win_amount',
                'gameRoundEndTime' => 'bet_time',
            ]

        ]
    ],
    'ky' => [
        'line'=>[
          [
              'gameUrl' => 'https://api.ky195.com:189/channelHandle',   //游戏地址
              'dataUrl' => 'https://record.ky195.com:190/getRecordHandle',   //数据地址
              'username' => 'fkadmin',                                    //帐号
              'password' => 'fkadmin@123',                                  //密码
              'agent' => 62459,                                            //密码
              'des' => '2CDB786B0348F4EF',                                 //密码
              'md5' => '022C01B86CA609FB',                                 //密码
              'clearPre' => '62459_',
              'lineName'=>'ky',
              'default'=>true,

          ]
        ],
        'length' => 16,                                            //长度
        'pre' => '',                                               //前辍
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'Accounts' => 'username',
                'ServerID' => 'game_code',
                'GameID' => 'game_flow_code',
                'AllBet' => 'bet_amount',
                'CellScore' => 'available_bet_amount',
                'Profit' => 'company_win_amount',
                'GameEndTime' => 'bet_time'
            ]

        ]
    ],
    'ibc' => [
        'line'=>[
          [
              'gameUrl' => 'http://api.prod.ib.gsoft88.net',
              'dataUrl' => 'http://api.prod.ib.gsoft88.net',
              'PCGame' => 'http://c.gsoft888.net/Deposit_ProcessLogin.aspx',
              'mobileGame' => 'http://i.gsoft888.net/Deposit_ProcessLogin.aspx',
              'opcode' => 'GAMEAPCN',                                 //代理码
              'security' => 's3erfddcvbnmgp987uythgfredcvxsw3',
              'oddstype' => 2,
              'mintransfer' => 1,                                       //转帐最小限额
              'maxtransfer' => 500000,                                  //转帐最大限额
              'lineName'=>'ibc',
              'default'=>true,
          ]
        ],
        'length' => 20,
        'pre' => '',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'PlayerName' => 'username',
                'SportType' => 'game_code',
                'TransId' => 'game_flow_code',
                'Stake' => 'bet_amount',
                'WinLoseAmount' => 'company_win_amount',
                'TransactionTime' => 'bet_time'
            ]

        ]
    ],
    'saba' => [
        'line'=>[
          [
              'gameUrl' => 'https://api.saba.authapi.net',
              'dataUrl' => 'https://api.saba.authapi.net',
              'PCGame' => 'https://mkt.saba.authapi.net/deposit_processlogin.aspx?lang=cs',
              'mobileGame' => 'https://ismart.saba.authapi.net/deposit_processlogin.aspx?lang=cs',
              'opcode' => 'fkgame',                                 //代理码
              'security' => 'fg0lpghoru',
              'oddstype' => 2,
              'mintransfer' => 1,                                       //转帐最小限额
              'maxtransfer' => 500000,                                  //转帐最大限额
              'lineName'=>'saba',
              'default'=>true,
          ]
        ],
        'length' => 20,
        'pre' => '',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'PlayerName' => 'username',
                'SportType' => 'game_code',
                'TransId' => 'game_flow_code',
                'Stake' => 'bet_amount',
                'WinLoseAmount' => 'company_win_amount',
                'TransactionTime' => 'bet_time'
            ]

        ]
    ],
    'vr' => [
        'line'=>[
            [
                'gameUrl' => 'https://vbs.vrbetapi.com',                //游戏地址
                'dataUrl' => 'https://vbs.vrbetapi.com',                //数据地址
                'key' => '84D22D2Z4FB44H6820P0LZF02ZFJVHN6',                //密钥
                'merchatId' => 'FKYX',                                    //前辍
                'version' => '1.0',                                       //版本
                'pre' => 'FKYX',
                'lineName'=>'vr',
                'default'=>false,
            ],
            [
                'gameUrl' => 'https://cmbs.vrbetapi.com',                //游戏地址
                'dataUrl' => 'https://cmbs.vrbetapi.com',                //数据地址
                'key' => '0P808VT6TPN86J42J4J68V2X0XD002XX',                //密钥
                'merchatId' => 'FKGAME',                                    //前辍
                'version' => '1.0',                                       //版本
                'pre' => 'FKGAME',
                'lineName'=>'vr2',
                'default'=>true,
            ],
        ],
        'length' => 128,
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'playerName' => 'username',
                'channelCode' => 'game_code',
                'serialNumber' => 'game_flow_code',
                'cost' => 'bet_amount',
                'playerPrize' => 'company_payout_amount',
                'createTime' => 'bet_time',
                'state' => 'status'
            ]
        ],
    ],
    'vr' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://uat.wmcia.net/api',
//                'appId' => 'vhtqxlkfdbpczjfe',
//                'appKey' => '2f60e269ccc706d44d712d75b81f5fc4',
//                'usertype' => 'test',
                //线上
                'gameUrl' => 'http://api.wm-cia.com/api',
                'appId' => 'verutgxjlviimqge',
                'appKey' => '5d26f8af6a64182a288da220eb3fa56c',
                'usertype' => 'active',

                'pre' => 'jdo',
                'channelId' => '612',
                'thirdParty' => 'vr',
                'tag' => 'ag_s54_crazygame',
                'cagent' => '',
                'lineName'=>'vr',
                'default'=>true,
            ]
        ],
        'length' => 20,
        'uniqueKey' => 'game_flow_code',
        'backUrl' => 'http://www.jdb3366.com',//前台地址，第三方返回用
        'platformTypes' => ['LOTTERY'],
        'updateFiled' => [
            'default' => [
                'playerName' => 'username',
                'channelCode' => 'game_code',
                'serialNumber' => 'game_flow_code',
                'cost' => 'bet_amount',
                'playerPrize' => 'company_payout_amount',
//                'netAmount' => 'company_win_amount',
                'betTimePRC' => 'bet_time',
                'state' => 'status'
            ]
        ],
    ],

    'tcg' => [
        'line'=>[
            [
                'gameUrl' => 'http://www.connect6play.com/doBusiness.do',                //游戏地址
                'dataUrl' => 'http://www.connect6play.com/doBusiness.do',                //数据地址
                'joinGame' => 'http://lottopage.betapi.co/',                                     //进入游戏地址
                'merchantCode' => 'crazygame',                //商户号
                'desKey' => 'nNQfB7gC',                                    //des加密key
                'signKey' => 'AgOsIFJhEDGa9jTq',                                       //SHA256加密key
                'currency' => 'CNY',                                         //货币
                'pre' => 'tcg',                                         //前缀
                'lineName'=>'tcg',
                'default'=>true,
            ]
        ],
        'length' => 14,
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'gameCode' => 'game_code',
                'orderDetailId' => 'game_flow_code',
                'actualBetAmount' => 'bet_amount',
                'winAmount' => 'company_payout_amount',
                'bettingTime' => 'bet_time',
                'playName' => 'bet_detail',
            ]

        ],

    ],
    'tcg' => [
        'line'=>[
            [
                'gameUrl' => 'http://www.connect6play.com/doBusiness.do',                //游戏地址
                'dataUrl' => 'http://www.connect6play.com/doBusiness.do',                //数据地址
                'joinGame' => 'http://tcg.jdb3366.com/',                                     //进入游戏地址
                'merchantCode' => 'jdbbet',                //商户号
                'desKey' => '5b4zY6cI',                                    //des加密key
                'signKey' => 'dqTMOh3GRYM2YZIh',                                       //SHA256加密key
                'currency' => 'CNY',                                         //货币
                'pre' => 'tcg',                                         //前缀
                'lineName'=>'tcg',
                'default'=>true,
            ]
        ],
        'length' => 14,
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'gameCode' => 'game_code',
                'betOrderNo' => 'game_flow_code',
                'betAmount' => 'bet_amount',
                'winAmount' => 'company_payout_amount',
                'betTime' => 'bet_time',
//                'playName' => 'bet_detail',
            ]

        ],

    ],
    'cq9' => [
        'line'=>[
            [
                'gameUrl' => 'https://apic.cqgame.cc',
                'uniqueKey' => 'game_flow_code',
                'token' => 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOiI1YjRkNTRkYjlmMjUxYzAwMDE5MWVkOTciLCJhY2NvdW50IjoieWlib2d1b2ppIiwib3duZXIiOiI1YjRkNTRkYjlmMjUxYzAwMDE5MWVkOTciLCJwYXJlbnQiOiJzZWxmIiwiY3VycmVuY3kiOiJDTlkiLCJqdGkiOiI5NTk3NDU1MjEiLCJpYXQiOjE1MzE3OTQ2NTEsImlzcyI6IkN5cHJlc3MiLCJzdWIiOiJTU1Rva2VuIn0.Eg3eOZdFJoNYB-ubFfb2wTMRNARmraLta4KR4IM_gjw',
                'lineName'=>'cq9',
                'default'=>true,
            ]
        ],
        'length' => 20,
        'pre' => '',
        'updateFiled' => [
            'default' => [
                'account' => 'username',
                'gamecode' => 'game_code',
                'round' => 'game_flow_code',
                'bet' => 'bet_amount',
                'win' => 'company_payout_amount',
                'bettime' => 'bet_time',
            ]

        ]
    ],
    'ag' => [
        'line'=>[
            [
                'gameUrl' => 'http://main.ebetapi888.com:8070/api/request',
                'privateKey' => 'MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJMtaonPsCjlosCaQnL4cloRdXFRqkwmM112cCO4XEX3SL+Xww6hdynMgc5AeqHwigb7iKXElsMEBaC7POFd4/rOOIUUhM+5eCFmDntLPcGWrXKz7sB/kp9fet6NaRPufyhTJilWSEmXdBJg7rlLSpOz6I/6j5uzhmpmMBeCw98/AgMBAAECgYBLt228AHEsWRdl5vaQl2idFaZJ6i2mh3CdgLUoa0xtYk624qii+kaH5oJRTbLJZSpddUJTpdO5+HO8wRcNCnSiZuEYfI8n6JDKqEkqgm2Dbl5sUJaSV8lbN1kl2qTez2ST+e7EDT2FDB1fezvEqxzxTCF1MbbdhcjgnvXyoQb+QQJBANJDXWpBxcRkKNAu/fI1jmykM/WhEDEgSv7iF90X07y0RwPmlEHwSND/pbaTvbHsTgxeffc8CFQIC3mHEKTz1zcCQQCzMRUYe29WxvxQHIPKInzBPa0PQGToKIEjq0sjxL3uCefKO0Ep1bFPtwBjFF7FHwFm42HlWXk35sywDMjbIKw5AkEAhocZXqHEchoPTtuyGOURQgtxPygU3wmlUhzAXfIfw+2oPiOqGeIuBKJ8mSs/xHXHnfxbJfMf9PvMs62qBZAJ0wJAWBq2852lRbZ60mziw50nV+AaWhhgROG9dStAu6p9dC+8nut5g7dFAhvJfe3DFwrCprMALENM3ZaGZ70xeMRcyQJADLfedNL2DQuI/dUhTIffrPIIxwib0sNTxfX+uU0a5PGfJv6v8hvOXUXUyBUaJH2MJ6kYWLXJC5ZdP5j/PZlLug==',
                'publicKey' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCTLWqJz7Ao5aLAmkJy+HJaEXVxUapMJjNddnAjuFxF90i/l8MOoXcpzIHOQHqh8IoG+4ilxJbDBAWguzzhXeP6zjiFFITPuXghZg57Sz3Blq1ys+7Af5KfX3rejWkT7n8oUyYpVkhJl3QSYO65S0qTs+iP+o+bs4ZqZjAXgsPfPwIDAQAB',
                'pre' => 'fkg',
                'channelId' => '40',
                'thirdParty' => 'ag',
                'tag' => 'ag_s54_crazygame',
                'cagent' => 'S54_AGIN',
                'lineName'=>'ag',
                'default'=>true,
            ]
        ],
        'length' => '17',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => ['AGIN', 'XIN', 'HUNTER', 'YOPLAY'],
        'updateFiled' => [
            'default' => [
                'playerName' => 'username',
                'gameType' => 'game_code',
                'billNo' => 'game_flow_code',
                'betAmount' => 'bet_amount',
                'validBetAmount' => 'available_bet_amount',
                'netAmountBase' => 'company_payout_amount',
                'netAmount' => 'company_win_amount',
                'platformType' => 'plat_type',
                'betTime' => 'bet_time',
                'flag' => 'status',
                'round' => 'lobby_type'
            ],
            'HSR' => [
                'playerName' => 'username',
                'tradeNo' => 'game_flow_code',
                'Cost' => 'bet_amount',
                'Earn' => 'company_payout_amount',
                'SceneStartTime' => 'bet_time',
                'platformType' => 'plat_type',
                'flag' => 'status',
            ]
        ],

    ],
    //新的AG
    'ag' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://uat.wmcia.net/api',
//                'appId' => 'vhtqxlkfdbpczjfe',
//                'appKey' => '2f60e269ccc706d44d712d75b81f5fc4',
//                'usertype' => 'test',
                //线上
                'gameUrl' => 'http://api.wm-cia.com/api',
                'appId' => 'verutgxjlviimqge',
                'appKey' => '5d26f8af6a64182a288da220eb3fa56c',
                'usertype' => 'active',

                'pre' => 'jdo',
                'channelId' => '40',
                'thirdParty' => 'ag',
                'tag' => 'ag_s54_crazygame',
                'cagent' => '',
                'lineName'=>'ag',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => ['AGIN', 'SPORT'],
        'updateFiled' => [
            'default' => [
                'playerName' => 'username',
                'gameType' => 'game_code',
                'billNo' => 'game_flow_code',
                'betAmount' => 'bet_amount',
                'validBetAmount' => 'available_bet_amount',
//                'netAmountBonus' => 'company_payout_amount',
                'netAmount' => 'company_win_amount',
                'platformType' => 'plat_type',
                'betTimePRC' => 'bet_time',
                'flag' => 'status',
                'round' => 'lobby_type'
            ]
        ],

    ],
    'bbin' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://uat.wmcia.net/api',
//                'appId' => 'vhtqxlkfdbpczjfe',
//                'appKey' => '2f60e269ccc706d44d712d75b81f5fc4',
//                'usertype' => 'active',
                //线上
                'gameUrl' => 'http://api.wm-cia.com/api',
                'appId' => 'verutgxjlviimqge',
                'appKey' => '5d26f8af6a64182a288da220eb3fa56c',
                'usertype' => 'active',

                'pre' => 'jdo',
                'channelId' => '40',
                'thirdParty' => 'by',
                'tag' => 'by_crazygame',
                'cagent' => '',
                'lineName'=>'bbin',
                'default'=>true,
            ]
        ],
        'length' => '14',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => ['LIVE', 'SPORT'],
        'updateFiled' => [
            'default' => [
                'UserName' => 'username',
                'GameType' => 'game_code',
                'WagersID' => 'game_flow_code',
                'BetAmount' => 'bet_amount',
                'Commissionable' => 'available_bet_amount',
                'Payoff' => 'company_win_amount',
                'betTimePRC' => 'bet_time',
                'standard_settle' => 'status',
            ],
        ],

    ],
    'sa' => [
        'line'=>[
            [
                'privateKey' => 'MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJMtaonPsCjlosCaQnL4cloRdXFRqkwmM112cCO4XEX3SL+Xww6hdynMgc5AeqHwigb7iKXElsMEBaC7POFd4/rOOIUUhM+5eCFmDntLPcGWrXKz7sB/kp9fet6NaRPufyhTJilWSEmXdBJg7rlLSpOz6I/6j5uzhmpmMBeCw98/AgMBAAECgYBLt228AHEsWRdl5vaQl2idFaZJ6i2mh3CdgLUoa0xtYk624qii+kaH5oJRTbLJZSpddUJTpdO5+HO8wRcNCnSiZuEYfI8n6JDKqEkqgm2Dbl5sUJaSV8lbN1kl2qTez2ST+e7EDT2FDB1fezvEqxzxTCF1MbbdhcjgnvXyoQb+QQJBANJDXWpBxcRkKNAu/fI1jmykM/WhEDEgSv7iF90X07y0RwPmlEHwSND/pbaTvbHsTgxeffc8CFQIC3mHEKTz1zcCQQCzMRUYe29WxvxQHIPKInzBPa0PQGToKIEjq0sjxL3uCefKO0Ep1bFPtwBjFF7FHwFm42HlWXk35sywDMjbIKw5AkEAhocZXqHEchoPTtuyGOURQgtxPygU3wmlUhzAXfIfw+2oPiOqGeIuBKJ8mSs/xHXHnfxbJfMf9PvMs62qBZAJ0wJAWBq2852lRbZ60mziw50nV+AaWhhgROG9dStAu6p9dC+8nut5g7dFAhvJfe3DFwrCprMALENM3ZaGZ70xeMRcyQJADLfedNL2DQuI/dUhTIffrPIIxwib0sNTxfX+uU0a5PGfJv6v8hvOXUXUyBUaJH2MJ6kYWLXJC5ZdP5j/PZlLug==',
                'publicKey' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCTLWqJz7Ao5aLAmkJy+HJaEXVxUapMJjNddnAjuFxF90i/l8MOoXcpzIHOQHqh8IoG+4ilxJbDBAWguzzhXeP6zjiFFITPuXghZg57Sz3Blq1ys+7Af5KfX3rejWkT7n8oUyYpVkhJl3QSYO65S0qTs+iP+o+bs4ZqZjAXgsPfPwIDAQAB',
                'gameUrl' => 'http://main.ebetapi888.com:8070/cmb/request',
                'channelId' => '40',
                'thirdParty' => 'salon',
                'tag' => 'salon_crazygame',
                'pre' => 'fkg',
                'clearPre' => 'fkg',
                'lineName'=>'sa',
                'default'=>true
            ]
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => '16',
        'updateFiled' => [
            'default' => [
                'Username' => 'username',
                'HostID' => 'game_code',
                'BetID' => 'game_flow_code',
                'BetAmount' => 'bet_amount',
                'ResultAmount' => 'company_win_amount',
                'BetTime' => 'bet_time',
            ],
        ],


    ],
    'sgcp' => [
        'line'=>[
            [
//                'gameUrl' => '',
                'gameUrl' => 'https://56kht.fastsgcpapi.com',
//                'gameUrl' => 'https://7v0rn.fastsgcpapi.com',
//                'gameUrl' => 'https://2sasj.fastsgcpapi.com',
//                'gameUrl' => 'https://5atj3.fastsgcpapi.com',
                'joinGame' => 'http://api.sgcpapi04.com',
                'merchantCode' => 'ys008',
                'agentID' => 'jdb',
                'apiKey' => 'RpPrWT4FywPp3t8EaDNrtgSnHdYvVT',
                'pre' => 'sgcp',
                'lineName'=>'sgcp',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'lottery' => 'game_code',
                'bid' => 'game_flow_code',
                'amount' => 'bet_amount',
                'dividend' => 'company_win_amount',
                'realAmount' => 'available_bet_amount',
                'created' => 'bet_time',
            ],
        ],
    ],
    'fy' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://testapi.bw-gaming.com',
//                'apiKey' => '8f48a2d0098e4d0dad220d3df77e55ed',
                //线上
                'gameUrl' => 'https://api.avia-gaming.com',
                'apiKey' => '5761f2e49165459aa030a6df505e1893',
                'pre' => 'fy',
                'lineName'=>'fy',
                'default'=>true,
            ]
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => '16',
        'updateFiled' => [
            'default' => [
                'UserName' => 'username',
                'CateID' => 'game_code',
                'OrderID' => 'game_flow_code',
                'BetAmount' => 'bet_amount',
                'Money' => 'company_win_amount',
                'CreateAt' => 'bet_time',
            ],
        ],
    ],
    'og' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://uat.wmcia.net/api',
//                'appId' => 'vhtqxlkfdbpczjfe',
//                'appKey' => '2f60e269ccc706d44d712d75b81f5fc4',
//                'usertype' => 'active',
                //线上
                'gameUrl' => 'http://api.wm-cia.com/api',
                'appId' => 'verutgxjlviimqge',
                'appKey' => '5d26f8af6a64182a288da220eb3fa56c',
                'usertype' => 'active',

                'pre' => 'jdo',
                'cagent' => '',
                'lineName'=>'og',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => ['LIVE'],
        'updateFiled' => [
            'default' => [
                'bettingdate' => 'bet_time',
                'originName' => 'username',
                'bettingcode' => 'game_flow_code',
                'bettingamount' => 'bet_amount',
                'validbet' => 'available_bet_amount',
                'winloseamount' => 'company_win_amount',
                'gamename' => 'game_code',
//                'standard_settle' => 'status',
            ],
        ],

    ],
    'ebet' => [
        'line'=>[
            [
                'privateKey' => 'MIIBVwIBADANBgkqhkiG9w0BAQEFAASCAUEwggE9AgEAAkEA6cJTXJW6MUxMYkyGRCcj3aigsEWAMRJ1K6wwCM1srnUO/a3AvGIIn36s9cKt4YEtWGLQ/OwqToyFrRzcQUfuUwIDAQABAkEA4LiC4T/Ddj8OM3WzofMqpJ3GlI7L9OD0qV5n8x5g+7gQWOnsUGr58yjijFliUFDHis/LeQzUBzovzhe4ed01QQIhAP4fgEtrW67FlnudUCIZNoqIyVliSYzPt7jJ1qkFsNzhAiEA63xR7v6h0s+cfI9tn2fAUmZhBdQIOtiwsqNDUBiYHbMCIQDMUN+Bw+uO9WYsNSs8fzEO6TOaHiAsisWYWQ+yDdVJgQIhAKb06J5a2F6/pYJGqoFHLPr+7TEVqJQYSAcPa80g8tCzAiEA3Y0BN7EDZQkaKKI44l1V8yJHSTFn2dH9/yfBmLEQsnM=',
                'publicKey' => 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCTLWqJz7Ao5aLAmkJy+HJaEXVxUapMJjNddnAjuFxF90i/l8MOoXcpzIHOQHqh8IoG+4ilxJbDBAWguzzhXeP6zjiFFITPuXghZg57Sz3Blq1ys+7Af5KfX3rejWkT7n8oUyYpVkhJl3QSYO65S0qTs+iP+o+bs4ZqZjAXgsPfPwIDAQAB',
                'gameUrl' => 'http://fengkuangyx.ebet.im:8888',
                'joinGame' => 'http://fengkuangyx.drfs.live/h5/ec27e0',
                'uniqueKey' => 'game_flow_code',
                'channelId' => '612',
                'pre' => '',
                'lineName'=>'ebet',
                'default'=>true,
            ]
        ],
        'length' => '16',
        'headers' => [
            'Content-type' => 'application/x-www-form-urlencoded'
        ],
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'roundNo' => 'game_code',
                'betHistoryId' => 'game_flow_code',
                'bet' => 'bet_amount',
                'payout' => 'company_payout_amount',
                'validBet' => 'available_bet_amount',
                'payoutTime' => 'bet_time',
            ],
        ],

    ],
    //新的ebet
    'ebet' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://uat.wmcia.net/api',
//                'appId' => 'vhtqxlkfdbpczjfe',
//                'appKey' => '2f60e269ccc706d44d712d75b81f5fc4',
//                'usertype' => 'test',
                //线上
                'gameUrl' => 'http://api.wm-cia.com/api',
                'appId' => 'verutgxjlviimqge',
                'appKey' => '5d26f8af6a64182a288da220eb3fa56c',
                'usertype' => 'active',

                'pre' => 'jdo',
                'channelId' => '612',
                'thirdParty' => 'ebet',
                'tag' => 'ag_s54_crazygame',
                'cagent' => '',
                'lineName'=>'ebet',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => ['LIVE'],
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'roundNo' => 'game_code',
                'betHistoryId' => 'game_flow_code',
                'bet' => 'bet_amount',
                'validBet' => 'available_bet_amount',
                'payout' => 'company_payout_amount',
                'netAmount' => 'company_win_amount',
                'createTime' => 'bet_time',
                'standard_settle' => 'status',
            ],
        ],

    ],
    'ig' => [
        'line'=>[
            [
                'gameUrl' => 'http://imone.imaegisapi.com',
                'productWallet' => '502',
                'pre' => 'IM0CP',
                'merchantCode' => 'OvRwaDJaxoGYEmoyRlfC6DhWmtLCIGXh',
                'lineName'=>'ig',
                'default'=>true,
            ]
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => '25',
        'updateFiled' => [
            'default' => [
                'PlayerId' => 'username',
                'GameId' => 'game_code',
                'BetId' => 'game_flow_code',
                'BetAmount' => 'bet_amount',
                'WinLoss' => 'company_win_amount',
                'ValidBet' => 'available_bet_amount',
                'BetDate' => 'bet_time',
            ],
        ],
    ],
    'ig' => [
        'line'=>[
            [
                'loginUrl' => 'http://gfc.ppkp888.com/gfcapi/app/api.do',
                'moneyUrl' => 'http://cpapitd.886win.com/igapiyftrade/app/api.do',
                'hashCode' => 'jdb2_51bd9e00-1e6b-4dc9-ad02-69065cc',
                'pre' => 'jdb',
                'lineName'=>'ig',
                'default'=>true,
            ]
        ],
        'backUrl' => 'http://www.jdb3366.com',//前台地址，第三方返回用
        'uniqueKey' => 'game_flow_code',
        'length' => '20',
        'updateFiled' => [
            'default' => [
                'betId' => 'game_flow_code',
                'gameInfoId' => 'game_code',
                'username' => 'username',
                'betTime' => 'bet_time',
                'stakeAmount' => 'bet_amount',
                'validStake' => 'available_bet_amount',
                'winLoss' => 'company_win_amount',
                'sequenceNo' => 'bet_detail',//记录最后抓取单号
            ],
        ],
    ],
    'sgqp' => [
        'line'=>[
            [
                'gameUrl' => 'http://imone.imaegisapi.com',
                'merchantCode' => 'OvRwaDJaxoGYEmoyRlfC6DhWmtLCIGXh',
                'productWallet' => '607',
                'pre' => 'IM0CP',
                'lineName'=>'sgqp',
                'default'=>true,
            ]
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => '25',
        'updateFiled' => [
            'default' => [
                'PlayerId' => 'username',
                'GameId' => 'game_code',
                'BetId' => 'game_flow_code',
                'BetAmount' => 'bet_amount',
                'WinLoss' => 'company_win_amount',
                'ValidBet' => 'available_bet_amount',
                'GameEndDate' => 'bet_time',
            ],
        ],
    ],
    'vg' => [
        'line'=>[
            [
                'gameUrl' => 'http://api.osachina.com:7000/webapi/interface.aspx',
                'gameData' => 'http://api.osachina.com:7000/webapi/gamerecordid.aspx',
                'channel' => 'FKYX',
                'privateKey' => 'fy6He1*86t*2nz',
                'pre' => '',
                'lineName'=>'vg',
                'default'=>true,
            ]
        ],
        'uniqueKey' => 'game_flow_code',
        'length' => '15',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'gametype' => 'game_code',
                'id' => 'game_flow_code',
                'betamount' => 'bet_amount',
                'money' => 'company_win_amount',
                'validbetamount' => 'available_bet_amount',
                'createtime' => 'bet_time',
            ],
        ],
    ],
    'sc' => [
        'line'=>[
            [
                'gameUrl' => 'https://api.shicai-client.com',
                'roomMasterId' => '204',
                'roomMasterHash' => '9a4',
                'appKey' => '5c207a1301792',
                'operator' => 'fkyxnd',
                'pre' => '',
                'lineName'=>'sc',
                'default'=>true,
            ]
        ],
        'length' => '15',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'name' => 'username',
                'lottery_id' => 'game_code',
                'project_display_id' => 'game_flow_code',
                'total_price' => 'bet_amount',
                'bonus' => 'company_payout_amount',
                'write_time' => 'bet_time',
            ],
        ],
    ],
    'qly' => [
        'line'=>[
            [
                'gameUrl' => 'http://tapi.761city.com:10018/agent/',
                'agent' => '1127',
                'account' => 'crazygame',
                'password' => '1q2w3e4r',
                'apiKey'=>'d22b64528608bd28e123038481597aff',
                'pre' => '',
                'lineName'=>'qly',
                'default'=>true,
            ]
        ],
        'length' => '15',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'acc' => 'username',
                'kind' => 'game_code',
                'sessionid' => 'game_flow_code',
                'allput' => 'bet_amount',
                'realput' => 'available_bet_amount',
                'chg' => 'company_win_amount',
                'bettime' => 'bet_time',
            ],
        ],
    ],
    'sunbet' => [
        'line'=>[
            [
                'gameUrl' => 'sgscon.net',
                'joinGameUrl' => 'http://tgpasia.com',
                'gameProvider' => 'SB',
                'clientId' => 'FKG',
                'clientSecret' => 'D246kIiNbFRqbg2X1Rt21uiISDaYkvKw3tUl0B3wsQQ',
                'pre' => '',
                'lineName'=>'sunbet',
                'default'=>true,
            ]
        ],
        'length' => '50',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'gamename' => 'game_code',
                'txid' => 'game_flow_code',
                'turnover' => 'bet_amount',
                'winloss' => 'company_win_amount',
                'validbet' => 'available_bet_amount',
                'beton' => 'bet_time',
            ],
        ],
    ],
    'sunbet' => [
        'line'=>[
            [
                'gameUrl' => 'https://tgpaccess.com',
                'joinGameUrl' => 'https://tgpasia.com',
                'clientId' => 'jdbsb',
                'clientSecret' => '3zVx5qKw9WzeiupROY1OcTkGn2Nra2rZ34Fm8ijFEU0i',
                'pre' => 'jdb',
                'gameProvider' => 'SB',
                'lineName'=>'sunbet',
                'default'=>true,
            ]
        ],
        'length' => '23',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'userid' => 'username',
                'ugsbetid' => 'game_flow_code',
                'winloss' => 'company_win_amount',
                'validbet' => 'available_bet_amount',
                'beton' => 'bet_time',
                'turnover' => 'bet_amount',
                'gamename' => 'game_code',
            ],
        ],
    ],
    'lg' => [
        'line'=>[
            [
                'gameUrl' => 'https://api.lg68.tech',
                'platformNo' => 'FK_0027',
                'key' => '1ccae92f99e94785cc3b227ff28873cc',
                'pre' => '',
                'clearPre' => 'FK_',
                'lineName'=>'lg',
                'default'=>true,
            ]
        ],
        'length' => '50',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'nickname' => 'username',
                'gameid' => 'game_code',
                'recordid' => 'game_flow_code',
                'totalbet' => 'bet_amount',
                'recordInfo' => 'bet_detail',
                'losewincoin' => 'company_win_amount',
                'effectivebet' => 'available_bet_amount',
                'recordtime' => 'bet_time',
            ],
        ],
    ],
    'pb' => [
        'line'=>[
            [
                'gameUrl' => 'https://api.ps3838.com/b2b',
                'agentCode' => '3210301',
                'agentKey' => 'f8a69fc4-c1e4-41cf-bde8-24e0da7940e3',
                'secretKey' => 'x2HUZ9Qt4b3ZLQ3E',
                'pre' => 'PB.',
                'lineName'=>'pb',
                'default'=>true,
            ]
        ],
        'length' => '50',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'userCode' => 'username',
                'sport' => 'game_code',
                'wagerId' => 'game_flow_code',
                'stake' => 'bet_amount',
                'betType' => 'bet_detail',
                'winLoss' => 'company_win_amount',
                'wagerDateFm' => 'bet_time',
            ],
        ],
    ],
    'qly' => [
        'line'=>[
            [
                'gameUrl' => 'http://api.761city.com:10018',
                'agent' => 1127,
                'account' => 'crazygame',
                'password' => '1q2w3e4r',
                'apiKey' => 'd22b64528608bd28e123038481597aff',
                'pre' => '',
                'lineName'=>'qly',
                'default'=>true,
            ]
        ],
        'length' => '30',
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'acc' => 'username',
                'kind' => 'game_code',
                'sessionid' => 'game_flow_code',
                'allput' => 'bet_amount',
                'realput' => 'bet_detail',
                'chg' => 'company_win_amount',
                'bettime' => 'bet_time',
            ],
        ],
    ],
    'gg' => [
        'line'=>[
            [
                //线上
                'gameUrl' => 'https://sock.gg137.com/api/v3',
                'token' => 'C1AF663DFBFC',
                'pre' => 'gg',
                'channel' => '83',
                'thirdParty' => 'gg',
                'cagent' => '',
                'lineName'=>'gg',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'platformTypes' => [],
        'updateFiled' => [
            'default' => [
                'user_acc' => 'username',
                'game_type' => 'game_code',
                'id' => 'game_flow_code',
                'bet_sum' => 'bet_amount',
                'payout' => 'company_payout_amount',
                'log_time' => 'bet_time',
            ]
        ],

    ],
    'yc' => [
        'line'=>[
            [
                //测试
//                'gameUrl' => 'http://cgm.ycdemo.zsl666.cn/CGMWebApi',
//                'merchantId' => 'JDB',
//                'aesKey' => 'Z833i4DUifYoBGZy6W2dIn6tPRZl6XVZ',
//                'sha1Key' => 'vGGcYwVt6z1TS3MPRc2Vt8MMUyWQS9Sq4WyVuuL6R+k=',

                //线上
                'gameUrl' => 'http://yccgm168.com:5980/CGMWebApi',
                'merchantId' => 'JDB',
                'aesKey' => 'Yop4i96Ui7vZSBViqlG5FkPBwFuwJ2x3',
                'sha1Key' => 'Q+bcAYLrU/+/datd0T9jzFzs89wza930fXABRnHAAN8=',

                'pre' => 'yc',
                'lineName'=>'yc',
                'default'=>true,
            ]
        ],
        'length' => '20',
        'uniqueKey' => 'game_flow_code',
        'backUrl' => 'http://www.jdb3366.com',//前台地址，第三方返回用
        'updateFiled' => [
            'default' => [
                'PlayerName' => 'username',
                'OrderId' => 'game_flow_code',
                'GameId' => 'game_code',
                'Bet' => 'bet_amount',
                'EffectiveBet' => 'available_bet_amount',
                'NetWin' => 'company_win_amount',
                'GameBeginTime' => 'bet_time',
            ]
        ],

    ],
    'bg' => [
        'line'=>[
            [
                'gameUrl' => 'http://www.connect6play.com/doBusiness.do',                //游戏地址
                'merchantCode' => 'jdbbet',                //商户号
                'desKey' => '5b4zY6cI',                                    //des加密key
                'signKey' => 'dqTMOh3GRYM2YZIh',                                       //SHA256加密key
                'currency' => 'CNY',                                         //货币
                'pre' => 'bg',                                         //前缀
                'lineName'=>'bg',
                'default'=>true,
            ]
        ],
        'length' => 14,
        'uniqueKey' => 'game_flow_code',
        'updateFiled' => [
            'default' => [
                'username' => 'username',
                'gameCode' => 'game_code',
                'betOrderNo' => 'game_flow_code',
                'betAmount' => 'bet_amount',
                'winAmount' => 'company_payout_amount',
                'betTime' => 'bet_time',
//                'playName' => 'bet_detail',
            ]

        ],

    ],
];
